package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 凭证对象 fxy_financial_voucher
 * 
 * @author ruoyi
 * @date 2025-01-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FxyFinancialVoucher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 凭证字 */
    @Excel(name = "凭证字")
    private String word;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long code;

    /** 附单据数量 */
    @Excel(name = "附单据数量")
    private Long receiptNum;


    /** 制单人 */
    @Excel(name = "制单人")
    private Long createMember;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createDate;

    /** 借方总金额 */
    @Excel(name = "借方总金额")
    private Long debitAmount;

    /** 贷方总金额 */
    @Excel(name = "贷方总金额")
    private Long creditAmount;

    /** $column.columnComment */
    @Excel(name = "账套id", readConverterExp = "$column.readConverterExp()")
    private Long accountSetsId;

    /** $column.columnComment */

    private Long voucherYear;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long voucherMonth;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date voucherDate;

    /** 审核人 ID */
    @Excel(name = "审核人 ID")
    private Long auditMemberId;

    /** 审核人姓名 */
    @Excel(name = "审核人姓名")
    private String auditMemberName;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditDate;

    /** 是否结转损益 */
    @Excel(name = "是否结转损益")
    private Integer carryForward;


    private String billList;


    private List<Object>details;

    private Integer isFlag;



}
